package exceptions

open class BilibiliException(code: Int) : Exception("Bilibili返回了一个异常（代码$code)。")

open class VideoNotFoundException(private var aid: Int) : BilibiliException(-404) {
    override val message: String?
        get() = "找不到视频AV${aid}。"
}